﻿<!DOCTYPE html>

<%@ page import="java.sql.*" %> 
<%@ page import="java.io.*" %> 
<%@ page import="java.util.Date" %> 
<%@ page import="java.text.DateFormat" %> 
<%@ page import="java.text.SimpleDateFormat" %> 

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<link rel="stylesheet" type="text/css" href="common.css">
    <title>Menu</title>
</head>
<body>
    <table width="150px">
        <% 
            String user_id = (String)session.getAttribute("UserID"); 
            if (user_id != "" && user_id != null)
            {
                String first_name = (String)session.getAttribute("FirstName"); 
                String last_name = (String)session.getAttribute("LastName"); 
        %>
        <tr>
            <td style="color:#666666; font-size:12px"><span>Welcome, <%= first_name %> <%= last_name %></span></td>
        </tr>
        <tr>
            <td>
                <a href="main_page.jsp" target="right">My Units of Study</a>
            </td>
        </tr>
        <% } %>
        <tr>
            <td><a href="logout.jsp" target="right">Logout</a></td>
        </tr>
    </table>
</body>
</html>
